Fix bug #17524 with crashes in creating a new frame with invalid font.
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 May 2014 16:28:39 +0000 (19:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 May 2014 16:28:39 +0000 (19:28 +0300)
commit75929b4ab01e4f3436b69a212cbb1c0539caf484
treef60b8b47bd775c34e4924547f4b6088216302e9d
parentbbbc1c2890d7ac604d9f1da1de4b64d3e915c9e1
Fix bug #17524 with crashes in creating a new frame with invalid font.

 src/w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are
 unwinding when frame's faces were not initialized yet, increment
 the frame's image-cache reference count before calling
 x_free_frame_resources.  Don't dereference
 dpyinfo->terminal->image_cache if it is NULL.
src/ChangeLog
src/w32fns.c